package com.zxbg.dao;

import com.zxbg.domain.Auth;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AuthDao {
    @Select("select * from auth where menu_code =#{menu_code}")
    public List<Auth> getAuthByMenuCode(String menu_code);

    @Select("select auth_id from auth where menu_code =#{menu_code}")
    public List<String> getAuthIdByMenuCode(String menu_code);
}
